<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <aa00>
            
        </aa00>
    </div>
    
    <script src="vue.js"></script>
    <script>
        Vue.component('aa00',{
            props:[,],
            template:`
            <div>
                <aa v-slot="slotProps">
                    {{slotProps}}
                    <ul>
                        <li v-for="item in slotProps.students" :key="item">{{item}}</li>
                    </ul>
                </aa>
            </div>
            `,
        });

        Vue.component('aa',{
            data() {
                return {
                    students: ['张三', '李四', '王五']
                }
            },
            template:`
            <div>
                <h1>xueshengliebiao1</h1>
                <slot :students="students"></slot>
            </div>
            `,
        });
        new Vue({
            el:"#app",
            data(){
                return {
                }
            },
        })
    
    </script>
    
</body>
</html>